package com.xpq.petserver.entity.request.userController;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * 修改用户基本信息的请求参数
 * @author XPQ
 * @date 2022-04-01
 */
@ApiModel("增加用户基本信息请求参数")
@Data
public class UserAddInfoRequest {
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
    @ApiModelProperty(value = "电话号码，用作登录账号", required = true)
    private String phone;
    @ApiModelProperty(value = "密码，需使用注册时的方式加密", required = true)
    private String password;
    @ApiModelProperty(value = "用户性别")
    private Byte sex;
    @ApiModelProperty(value = "用户出生日期")
    private String birthday;
    @ApiModelProperty(value = "用户个性签名")
    private String signature;
    @ApiModelProperty(value = "用户所属权限，1普通用户，2管理员", required = true)
    private String role;

}
